<?php

/**
 * This file is part of Rangine
 *
 * (c) We7Team 2019 <https://www.rangine.com/>
 *
 * document http://s.w7.cc/index.php?c=wiki&do=view&id=317&list=2284
 *
 * visited https://www.rangine.com/ for more details
 */

namespace W7\Core\Exception;

use Psr\Http\Message\ResponseInterface;

/**
 * idd抛出的异常
 * Class DumpException
 * @package W7\Core\Exception
 */
class DumpException extends ResponseExceptionAbstract {
	public $isLoggable = false;

	public function render(): ResponseInterface {
		return icontext()->getResponse()->withContent($this->getMessage());
	}
}
